Google Summer of Code for Geoinformatics

نویسنده

  • Jan Ježek
چکیده

The GeoTools Referencing module has been becoming one of the most powerful tools focused on coordinate reference system transformations in the Java GIS world in recent years. The Referencing module in conjunction with the Coverage module presents a really strong tool for raster operations like reprojecting and transforming. The aim of this paper is to describe new functionality that has been developed by author during the Google Summer of Code 2006 and 2007 projects. The usability of these new features will be discussed also with relation to the specific needs of reference coordinate systems that are used in the Czech Republic. Google Summer of Code itself will be also mentioned. New functionality that was and still is being developed is focused on transformation methods based on interpolation. These procedures are usually applied in cases when transformation between coordinate systems is not some kind of exact mathematical relationship (such as cartographic projection or affine transformation for example). This topic is closely related to rectification of old maps as well as the transformation of coordinate reference systems for those datums, that have been derived before GPS techniques started to rule and so their transformation into the global systems like WGS 84 is problematic and not as accurate as needed. Google Summer of Code for Geoinformatics Google Summer of Code (GSoC) is well known event that brings together students that are interested in open source software with core developers of projects from all branches. Huge projects like KDE, Ubuntu Linux, Apache Software Foundation, etc. participate in this program every year. The aim of GSoC is to get interested students involved in these project. Google plays the sponsor roll (among others) in the whole program and offer stipends for students that successfully participate. For detailed information about GSoC see (4). The summer of 2007 saw the third volume of this event. The open source geospatial community started to participate in GSoC in 2006 when Refractions Research took the roll of mentoring organization. The projects that had been worked on were focused on the GeoTools library and the uDig desktop GIS. For more information about GSoC 2006 mentored by Refractions Research see (5). OSGeo joined the program in the summer of 2007 and helped to get sponsorship for 12 students that contributed to a wide range of FOSS4G projects (GRASS, GDAL, GeoTools, Geoserver and uDig). For detailed information see (6). Additional functions for coordinate system transformations in GeoTools and uDig This part describes the work that has been done by the author during Summer of Code 2006 and 2007. The project was mentored by Jesse Eicher and Martin Desruisseaux. The GeoTools Referencing package presents one of the most powerful tool for re-projecting and transforming in the Java GIS world. The package follows the OGC implementation specification (3). The package also offers a plugin mechanism, that lets users connect to persistent storage of datums and projection parameters such as an EPSG database (2). The project that I’ve beenworking on during 2006 and 2007 has been focused on new coordinate system transformation algorithms. The aim was to implement tools that helps to solve the opposite transformation task — the task when we know some coordinates in source and target coordinate reference systems (mapped coordinates) and we are searching for the definition of transformation. Linear transformations There are a couple of transformation methods that can be unequally defined from known coordinates in source and target coordinate reference systems (CRS). This methods can be divided into two main ISSN 1994-1897 FOSS4G 2007 — Integration & Development 21 OSGeo Journal Google Summer of Code for Geoinformatics Vol. 3, Dec. 2007 (a) Inverse distance weighted interpolation. (b) Thin plate spline. (c) Rubber sheeting. Figure 1: Output of three interpolation methods branches — linear transformation and no residual methods. New implemented tools can be used to calculate transformation parameters for these linear methods: • Similar Transformation • Linear Transformation • Affine Transformation • Projective Transformation • Position vectors (Bursa Wolf) transformation (3D similar 7 parameters) Thesemethods are unequally defined by different number of mapped position (Similar transformation needs 2, for example). When there are more coordinates than needed the least square method is used to minimize the square of distance between target and transformed source point. Currently there is just Cartesian distance taken into account. No Residual algorithms Another set of algorithms that has been implemented is focused on possibilities to calculate transformations that will exactly fit the source positions to target positions no matter howmany mapped positions are defined (this is also called warp transformation). After studying the possibilities to define such methods through EPSG database conventions we choose the following approach. One of the most general transformation that is defined in the EPSG database is the method based on a regular grid of coordinate offsets. Within this grid simple bi-linear interpolation is used so once you know the grid values you can apply the transformation quite fast. The family of grid-based methods includes: • NADCON (EPSG dataset coordinate operation method code 9613) which is used by the USNational Geodetic Survey for transformation between US systems • NTv2 (EPSG dataset coordinate operation method code 9615) which originated in the national mapping agency of Canada and was subsequently adopted in Australia and New Zealand • OSTN (EPSG dataset coordinate operation method code 9633) used in Great Britain For more information see [(2)]. There have been 3 algorithms implemented that enable users to calculate the grid. Thesemethods are: Inverse distance weighted Interpolation: The offset values are calculated according to the distance from the known mapped positions Thin plate spline interpolation: The name thin plate spline refers to a physical analogy involving the bending of a thin sheet of metal. In the physical setting, the deflection is in the z direction, orthogonal to the plane (1). The offsets in both direction (x and y or easting and northing) are calculated in this manner. Rubber Sheeting method: The surface is divided into particular triangles by applying Delaunay’s algorithm on the field mapped positions. Then the affine transformation on each triangle is applied. This method should be applied also as a piece-wise but calculation of the grid makes it more general, reusable an faster. ISSN 1994-1897 FOSS4G 2007 — Integration & Development 22 OSGeo Journal Integration & Development Vol. 3, Dec. 2007 Implementation details Described functions have been designed to become a part of the GeoTools referencing module. The algorithms let you generate grid files that can be reused also in other software — in all that support EPSG methods explained above.The grid based transformation is designed to be performed using Java Advance Imaging (JAI) warp transform. This greatly helps improve performance especially when transforming raster datasets (JAI is using native library). Other interesting results are when we try to visualise the calculated grids by converting calculated values to images. In this manner we can nicely see the distribution of the offsets and also the differences between applying particular method. You can see interpolated grids by all three methods using the same set of mapped positions in Figure 1. All described functionality are currently located online.5 Migration into GeoTools 2.5 will take place during upcoming months. Other documentation and code examples can be found on the GeoTools website.6

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Gis-related Web Engineering as Topic and Tool in E-learning

In the last few years, map viewers like Google Maps, Microsoft Live Search Maps and Open Street Map as well as virtual earth viewers like Google Earth and Microsoft Virtual Earth had an important impact on the development and dissemination of Internetbased GIS applications. Therefore, there is a vital need for knowledge about the techniques required for exploiting and developing such applicatio...

متن کامل

Análise Espacial da Distribuição de Aedes Aegypti (Diptera: Culicidade) em Diferentes Áreas da Cidade do Rio de Janeiro

This work aimed at assessing the spatial distribution of the dengue fever mosquito vector, Aedes aegypti and its association with Strategic Sites (SS). In each of three localities of Rio de Janeiro city, 80 traps were installed (40 for adult mosquitos and 40 for immatures) in randomly chosen households. Moreover, two further traps we installed close to each SS. These traps were localized with G...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007